package com.example.vv.model.setupItem.base.contract;

import android.app.Activity;

import com.example.vv.adapter.BaseRecyclerViewAdapter;
import com.example.vv.fragmentWork.base.BaseView;
import com.example.vv.fragmentWork.entity.NaviEntity;
import com.example.vv.fragmentWork.entity.TreeEntity;
import com.example.vv.res.net.BaseResponse;

import java.util.List;

import io.reactivex.Observable;

public interface SetupItemContract {
    interface Model{
        Observable<BaseResponse> GET_API(String api);
    }
    interface View extends BaseView{

        void getNative(List<NaviEntity> naviEntities);
    }
    interface Presenter{

        void setNative();

        /**
         * 设置导航的adapter
         * @param list
         * @param activity
         * @return 返回一个处理完后的adapter
         */
        BaseRecyclerViewAdapter setNativeAdapter(List<NaviEntity> list,Activity activity);

    }

}
